#include<stdio.h>
int main(int argc, const char *argv[])
{
	int a=10;
	int *p=&a;
	int **q = &p;
	printf("p = %p,*p = %d\n",p,*p);
	printf("q = %p,*q = %p,**q = %d\n",q,*q,**q);
	return 0;
}
%d",&len);
	str = malloc(len);
	printf("请输入字符串：");
	scanf("%s",str);

	i=strlen(str);
	j=i-1;
	while(i<j)
	{
		temp = str[i];
		str[i] = str[j];
		str[j]=temp;
		i++;
		j--;
	}
	printf("%s\n",str);

	return 0;
}
